import requests

files = {'uploadFile': open('../../files/text_2.png', 'rb')}
r = requests.post("http://pythonscraping.com/pages/files/processing2.php",
                  files=files)
print(r.text)